import ReactDOM from 'react-dom/client'
import { HashRouter } from 'react-router-dom'
import { Provider } from 'react-redux';
import App from './App'
import './styles/less/index.less'
import './styles/tailwindcss/index.css'
import 'magic-ui-react/style'
import 'magic-ui-react/icons/css'
import 'magic-ui-react/theme'

import { store } from './store'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  // <React.StrictMode>
  <Provider store={store}>
    <HashRouter>
      <App />
    </HashRouter>
  </Provider>
  // </React.StrictMode>
)
